package com.example.demo.openai;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class DemoOpenAiApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoOpenAiApplication.class, args);
	}


	/*@Bean
    public CommandLineRunner runner(ChatClient.Builder builder) {
        return args -> {
            ChatClient chatClient = builder.build();
            System.out.println("====="+chatClient.prompt());

            String response = chatClient.prompt("Tell me a joke").call().content();
            System.out.println(response);
        };
    }*/

}
